package com.example.typhoonproject;

import com.example.typhoonproject.controller.TyphoonCsvTask;
import com.example.typhoonproject.controller.TyphoonNmcCnTask;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
//@MapperScan("com.example.typhoonproject.dao")
@MapperScan("com.example.*.dao")
public class TyphoonProjectApplication {

    public static void main(String[] args) {

        ConfigurableApplicationContext context = SpringApplication.run(TyphoonProjectApplication.class, args);
        context.getBean(TyphoonNmcCnTask.class).myTask();
    }

}
